<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <link href="https://gmpg.org/xfn/11" rel="profile">
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="generator" content="Hugo 0.80.0" />

  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>标签插件 &middot; K J</title>
  <meta name="description" content="" />

  
  <link type="text/css" rel="stylesheet" href="http://kartjim.gitee.io/hugo/css/print.css" media="print">
  <link type="text/css" rel="stylesheet" href="http://kartjim.gitee.io/hugo/css/poole.css">
  <link type="text/css" rel="stylesheet" href="http://kartjim.gitee.io/hugo/css/syntax.css">
  <link type="text/css" rel="stylesheet" href="http://kartjim.gitee.io/hugo/css/hyde.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface|PT+Sans:400,400i,700">


  
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
  <link rel="icon" href="/hugo/favicon.png">
  
  
</head>

  <body class="theme-base-09 ">
  <aside class="sidebar">
  <div class="container sidebar-sticky">
    <div class="sidebar-about">
      <a href="http://kartjim.gitee.io/hugo/"><h1>K J</h1></a>
      <p class="lead">
       kart jim`blog 
      </p>
    </div>

    <nav>
      <ul class="sidebar-nav">
        <li><a href="http://kartjim.gitee.io/hugo/">Home</a> </li>
        <li><a href="https://blog.csdn.net/qq_46590483?spm=1001.2100.3001.5343"> CSDN </a></li><li><a href="https://github.com/can-dy-jack"> Github </a></li><li><a href="https://www.cnblogs.com/kartjim"> 博客园 </a></li>
      </ul>
    </nav>

    <p>Copyright 2021 © kart jim</p>
  </div>
</aside>

    <main class="content container">
    <div class="post">
  <h1>标签插件</h1>
  <time datetime=2020-12-15T21:06:31Z class="post-date">Tue, Dec 15, 2020</time>
  <h2 id="引用块">引用块</h2>
<h3 id="在文章中插入引言可包含作者来源和标题">在文章中插入引言，可包含作者、来源和标题。</h3>
<p><em><strong>别号： quote</strong></em></p>
<blockquote>
<p>{% blockquote [author[, source]] [link] [source_link_title] %}
content
{% endblockquote %}</p>
</blockquote>
<p>如：
{% blockquote David Levithan, Wide Awake %}
Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
{% endblockquote %}
{% blockquote Seth Godin <a href="http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html">http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html</a> Welcome to Island Marketing %}
Every interaction is both precious and an opportunity to delight.
{% endblockquote %}&hellip;&hellip;</p>
<h2 id="代码块">代码块</h2>
<h3 id="在文章中插入代码">在文章中插入代码。</h3>
<p><em>别名： code</em>
公式：
{% codeblock [title] [lang:language] [url] [link text] [additional options] %}
code snippet
{% endcodeblock %}
普通的代码块:
{% codeblock %}
alert(&lsquo;Hello World!');
{% endcodeblock %}
附加说明和网址：
{% codeblock _.compact <a href="http://underscorejs.org/#compact">http://underscorejs.org/#compact</a> Underscore.js %}
_.compact([0, 1, false, 2, &lsquo;&rsquo;, 3]);
=&gt; [1, 2, 3]
{% endcodeblock %}</p>
<h2 id="引用文章">引用文章</h2>
<h3 id="引用其他文章的链接">引用其他文章的链接。</h3>
<p>{% post_path filename %}
{% post_link filename [title] [escape] %}
官网：{% link &ldquo;Hexo 3.8.0&rdquo; <a href="https://hexo.io/zh-cn/docs/tag-plugins">https://hexo.io/zh-cn/docs/tag-plugins</a> %}</p>
<h2 id="引用资源">引用资源</h2>
<h3 id="引用文章的资源">引用文章的资源。</h3>
<p>{% asset_path filename %}
{% asset_img [class names] slug [width] [height] [title text [alt text]] %}
{% asset_link filename [title] [escape] %}</p>
<h3 id="反引号代码块">反引号代码块</h3>
<h4 id="另一种形式的代码块不同的是它使用三个反引号来包裹">另一种形式的代码块，不同的是它使用三个反引号来包裹。</h4>
<p><code>[language] [title] [url] [link text] code snippet</code></p>
<h2 id="文章摘要和截断">文章摘要和截断</h2>
<h4 id="文章来自-link-hexo-380-httpshexoiozh-cndocstag-plugins-">文章来自：{% link &ldquo;Hexo 3.8.0&rdquo; &ldquo;<a href="https://hexo.io/zh-cn/docs/tag-plugins%22">https://hexo.io/zh-cn/docs/tag-plugins&quot;</a> %}</h4>

</div>


    </main>

    
      
    
  </body>
</html>
